package com.hmys.api.service;

import com.github.pagehelper.PageInfo;
import com.hmys.api.model.*;

import java.util.List;

/**
 * Created by chen365 on 2018/03/27.
 */
public interface WebHouseService {

    PageInfo<WebHouse> selectByBean(Integer pageIndex, Integer pageSize, WebHouseParam record);

    PageInfo<WebHouse> selectByBean(Integer pageIndex, Integer pageSize, WebHouseParamMultiple record);

    PageInfo<WebHouseSimple> selectSimpleByBean(Integer pageIndex, Integer pageSize, WebHouseParam record);

    PageInfo<WebHouse> selectByCollection(Integer pageIndex, Integer pageSize, Long userId);

    WebHouseWithBLOBs selectByPrimaryKey(Long id);

    List<WebHouseWithBLOBs> selectByIds(List<Long> ids);
}
